home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2002 #11
/
Amiga Plus CD - 2002 - No. 11.iso
/
Tools
/
Hardware
/
cnetdevice
/
Examples
/
AmiTCP3.0b
/
Startnet
< prev
next >
Wrap
Text File
|
2002-10-27
|
847b
|
32 lines
;=====================================================================
; Ethernet startup with NFS
;=====================================================================
assign TCP: exists >nil:
if warn
run >nil: AmiTCP:AmiTCP
rexxc:waitforport AMITCP
AmiTCP:bin/ifconfig lo0 localhost
mount TCP: from AmiTCP:devs/inet-mountlist
setenv USER bhabbott
setenv USERNAME bhabbott
setenv HOME ram:
setenv HOSTNAME inhb.co.nz
endif
AmiTCP:bin/ifconfig cnet0 192.168.0.6 ; activate CNet card
stack 50000
amitcp:bin/ch_nfsmount ALL ; start NFS to peecees
assign PIPE: exists >nil:
if warn
mount pipe: ; pipe required by ls
endif
assign apache: AmiTCP:apache_1.0.5
assign bin: apache:bin
assign etc: AmiTCP:db
run >nil: AmiTCP:bin/inetd ; start server(s)